package com.dongdongshop.service;

import com.dongdongshop.data.Page;
import com.dongdongshop.pojo.TbBrand;
import com.dongdongshop.pojo.TbSpecification;
import com.dongdongshop.pojo.TbSpecificationOption;
import com.dongdongshop.vo.SpecVO;

import java.util.List;

public interface SpecificationService {
    List<TbSpecification> getSpList();

    Boolean addModal(TbSpecification tbSpecification, String[] optionName, Integer[] orders);

    Page<TbSpecification> spPage(String specName,Integer pageNumber, Integer pageSize);

    Boolean deleteInfo(Long[] id);

    SpecVO getSpecById(Long id);

    Boolean updateModal(TbSpecification tbSpecification, String[] optionName, Integer[] orders);

    Boolean deleteById(Long id);
}
